package com.gp.dwt.service;

import com.gp.dwt.base.Result;
import com.gp.dwt.dto.UserRegisterDto;
import com.gp.dwt.dto.UserLoginDto;

import javax.servlet.http.HttpSession;

public interface UserService {

    Result userRegister(HttpSession session, UserRegisterDto userRegisterDto);

    Result userValidateRegister(HttpSession session,UserRegisterDto userRegisterDto);

    Result userLoginByUserName(UserLoginDto userLoginDto);

    Result userLoginByEmail(UserLoginDto userLoginDto);
}
